<style type="text/css">@import url("<?php echo base_url() . 'css/style.css'; ?>");</style>
<style type="text/css">@import url("<?php echo base_url() . 'development-bundle/themes/base/ui.all.css'; ?>");</style>
<style type="text/css">@import url("<?php echo base_url() . 'css/jquery.fancybox-1.3.4.css'; ?>");</style>

<script type="text/javascript" src="<?php echo base_url();?>js/jquery-1.3.2.js"></script>
<script type="text/javascript" src="<?php echo base_url();?>js/jquery.autocomplete.js"></script>
<script type="text/javascript" src="<?php echo base_url();?>js/register.js"></script>
<script type="text/javascript" src="<?php echo base_url();?>js/datetimepicker_css.js"></script>


<script type="text/javascript">
var uri = "<?php echo site_url('ajax')."/"; ?>";
var baseuri = "<?php echo base_url(); ?>";
var site = "<?php echo site_url();?>";
</script>

<style>
        .refresh{ border:1px solid #AAAAAA; color:#000; padding:2px 5px 2px 5px; margin:0px 2px 0px 2px; background-color:#FFF;}
		.refresh:hover{ background-color:#CCCCCC; color: #FF0000;}
		.refresh:visited{ background-color:#FFF; color: #000000;}	
		#cdept{ float:left; margin-right:5px;}
</style>

<?php 
		
$atts1 = array(
	  'class'      => 'refresh',
	  'title'      => 'add cust',
	  'width'      => '600',
	  'height'     => '400',
	  'scrollbars' => 'no',
	  'status'     => 'yes',
	  'resizable'  => 'yes',
	  'screenx'    =>  '\'+((parseInt(screen.width) - 600)/2)+\'',
	  'screeny'    =>  '\'+((parseInt(screen.height) - 400)/2)+\'',
);

?>

<?php $flashmessage = $this->session->flashdata('message'); ?>

<div id="webadmin">
	<p class="message"> <?php echo ! empty($message) ? $message : '' . ! empty($flashmessage) ? $flashmessage : ''; ?> </p>
	
	<div id="errorbox" class="errorbox"> <?php echo validation_errors(); ?> </div>
	
	<fieldset class="field"> <legend> Scholarship Transaction - Report </legend>
	<form name="modul_form" class="myform" id="form" method="post" action="<?php echo $form_action; ?>" target="_blank" >
				<table>
					
	<tr>	
	<td> <label for="tname"> Academic Year </label> </td> <td>:</td>
	<td> <?php $js = 'class=""'; echo form_dropdown('cfinancial', $finance, isset($default['financial']) ? $default['financial'] : '', $js); ?> </td>
	</tr>
    
    <tr>	
    <td> <label for="cdept"> Department </label> </td> <td>:</td>
    <td> <?php $js = 'id="cdept"'; echo form_dropdown('cdept', $dept, isset($default['dept']) ? $default['dept'] : '', $js); ?> </td>
    </tr>  
	
    <tr>	
    <td> <label for="clevel"> Level </label> </td> <td>:</td>
    <td> <select id="cgrade" name="cgrade"> 
         <option value="">--</option> 
         <option value="1">I</option> 
         <option value="2">II</option> 
         <option value="3">III</option> 
         </select>
    </td>
    </tr>
    
    <tr>	
    <td> <label for=""> Type : </label> </td> <td>:</td>
    <td> <?php $js = 'class=""'; echo form_dropdown('ctype', $type, isset($default['type']) ? $default['type'] : '', $js); ?> </td>
    </tr>  	
    
    <tr>	
    <td> <label for=""> Period : </label> </td> <td>:</td>
    <td> 
     <select name="cperiod"> 
     <option value=""> -- </option> 
     <option value="1"> 1 </option> 
     <option value="2"> 2 </option> 
     <option value="3"> 3 </option> 
     <option value="4"> 4 </option> 
     <option value="5"> 5 </option> 
     <option value="6"> 6 </option> 
     <option value="7"> 7 </option> 
     <option value="8"> 8 </option> 
     <option value="9"> 9 </option> 
     <option value="10"> 10 </option> 
     <option value="11"> 11 </option> 
     <option value="12"> 12 </option> 
     </select>
    </td>
    </tr>
    
    <tr>	
    <td> <label for=""> Until : </label> </td> <td>:</td>
    <td> 
     <select name="cuntil"> 
     <option value=""> -- </option> 
     <option value="7"> Jan </option> 
     <option value="8"> Feb </option> 
     <option value="9"> Mar </option> 
     <option value="10"> Apr </option> 
     <option value="11"> May </option> 
     <option value="12"> Jun </option> 
     <option value="1"> Jul </option> 
     <option value="2"> Aug </option> 
     <option value="3"> Sep </option> 
     <option value="4"> Oct </option> 
     <option value="5"> Nov </option> 
     <option value="6"> Dec </option> 
     </select>
    </td>
    </tr>  	
    
    <tr>	
    <td> <label for=""> Status : </label> </td> <td>:</td>
    <td> 
     <select name="cstts"> 
     <option value=""> -- </option> 
     <option value="1"> Active </option> 
     <option value="0"> Inactive </option> 
     </select>
    </td>
    </tr>  	
    
    		
    <tr>	
         <td> <label for="tstart"> Period (Date) </label> </td> <td>:</td>
         <td>  
         <input type="Text" name="tstart" id="d1" title="Start date" size="10" readonly="readonly" class="required" /> 
         <img src="<?php echo base_url();?>/jdtp-images/cal.gif" onclick="javascript:NewCssCal('d1','yyyymmdd')" style="cursor:pointer"/> -
           
         <input type="Text" name="tend" id="d2" title="End date" size="10" readonly="readonly" class="required" /> 
         <img src="<?php echo base_url();?>/jdtp-images/cal.gif" onclick="javascript:NewCssCal('d2','yyyymmdd')" style="cursor:pointer"/>
        </td> 						
    </tr>
            
    <tr>	
    <td> <label for="cformat"> Format </label> </td> <td>:</td>
    <td>  
     <select name="cformat">
        <option selected="selected" value="0"> HTML </option>
        <option value="1"> Pdf </option>
        <option value="2"> Pivot Table </option>
     </select> &nbsp; <br /> </td>
    </tr>
						 
				</table>
				<p style="margin:15px 0 0 0; float:left;">
					<input type="submit" name="submit" class="button" title="SUBMIT" value=" SUBMIT " /> 
				</p>	
			</form>			  
	</fieldset>
</div>

